
import 'dart:convert';

class AppInfo {
  AppInfo({
    this.versionUrl,
    this.remarks,
    this.version,
  });

  String? versionUrl;
  String? remarks;
  String? version;

  factory AppInfo.fromRawJson(String str) => AppInfo.fromJson(json.decode(str));

  String toRawJson() => json.encode(toJson());

  factory AppInfo.fromJson(Map<String, dynamic> json) => AppInfo(
    versionUrl: json["version_url"] == null ? null : json["version_url"],
    remarks: json["remarks"] == null ? null : json["remarks"],
    version: json["version"] == null ? null : json["version"],
  );

  Map<String, dynamic> toJson() => {
    "version_url": versionUrl == null ? null : versionUrl,
    "remarks": remarks == null ? null : remarks,
    "version": version == null ? null : version,
  };
}